<?php
namespace Home\Controller;
use Think\Controller;
class PageController extends Controller {
    public function index(){
    	C('IS_PAGE',true);
        $name= I('get.name');
        $this->page= M('page')->where("name='".$name."'")->select();
        $str="/".$name;
        $this->theme(C('DEFAULT_THEME'))->display($str);

    }
}